﻿<Activity mc:Ignorable="sap sap2010 sads" x:Class="RerWorkflowApp.Update_Announcement.Workflow"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mca="clr-namespace:Microsoft.CSharp.Activities;assembly=System.Activities"
 xmlns:msdad="clr-namespace:Microsoft.SharePoint.DesignTime.Activities.Design;assembly=Microsoft.SharePoint.DesignTime.Activities.Design"
 xmlns:p="wf://workflow.windows.net/$Activities"
 xmlns:p1="http://schemas.microsoft.com/workflow/2012/07/xaml/activities"
 xmlns:s="clr-namespace:System;assembly=mscorlib"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="RemoteEventReceiverPassedValue" Type="InArgument(x:String)" />
  </x:Members>
  <sap2010:ExpressionActivityEditor.ExpressionActivityEditor>C#</sap2010:ExpressionActivityEditor.ExpressionActivityEditor>
  <sap2010:WorkflowViewState.IdRef>RerWorkflowApp.Update_Announcement.Workflow_1</sap2010:WorkflowViewState.IdRef>
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Text</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>System.Runtime.Serialization</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>Microsoft.Activities</AssemblyReference>
      <AssemblyReference>Microsoft.SharePoint.DesignTime.Activities</AssemblyReference>
      <AssemblyReference>PresentationFramework</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>RerWorkflowApp</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <Sequence sap2010:WorkflowViewState.IdRef="Sequence_1">
    <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_1">
      <InArgument x:TypeArguments="x:String">
        <mca:CSharpValue x:TypeArguments="x:String">"Workflow started with parameter RemoteEventReceiverPassedValue=" + RemoteEventReceiverPassedValue</mca:CSharpValue>
      </InArgument>
    </WriteLine>
    <p:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_1">
      <p:WriteToHistory.Message>
        <InArgument x:TypeArguments="x:String">
          <mca:CSharpValue x:TypeArguments="x:String">"Workflow started with a parameter passed from a external source:" + RemoteEventReceiverPassedValue</mca:CSharpValue>
        </InArgument>
      </p:WriteToHistory.Message>
    </p:WriteToHistory>
    <p:UpdateListItem ItemGuid="{x:Null}" ListItemProperties="{x:Null}" sap2010:WorkflowViewState.IdRef="UpdateListItem_1">
      <p:UpdateListItem.ItemId>
        <InArgument x:TypeArguments="x:Int32">
          <p1:ExpressionContainerValue x:TypeArguments="x:Int32">
            <p:GetCurrentItemId />
          </p1:ExpressionContainerValue>
        </InArgument>
      </p:UpdateListItem.ItemId>
      <p:UpdateListItem.ListId>
        <InArgument x:TypeArguments="s:Guid">
          <p1:ExpressionContainerValue x:TypeArguments="s:Guid">
            <p:GetCurrentListId />
          </p1:ExpressionContainerValue>
        </InArgument>
      </p:UpdateListItem.ListId>
      <p:UpdateListItem.ListItemPropertiesDynamicValue>
        <InArgument x:TypeArguments="p1:DynamicValue">
          <p1:SetDynamicValueProperties>
            <scg:Dictionary x:TypeArguments="x:String, InArgument">
              <InArgument x:TypeArguments="x:String" x:Key="Body">
                <mca:CSharpValue x:TypeArguments="x:String">RemoteEventReceiverPassedValue</mca:CSharpValue>
              </InArgument>
            </scg:Dictionary>
          </p1:SetDynamicValueProperties>
        </InArgument>
      </p:UpdateListItem.ListItemPropertiesDynamicValue>
    </p:UpdateListItem>
    <WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_2" Text="Item updated" />
    <p:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_2" Message="Body of announcement updated." />
    <sads:DebugSymbol.Symbol>d01jOlxkZXZcUkVSV29ya2Zsb3dBcHBcUmVyV29ya2Zsb3dBcHBcVXBkYXRlQW5ub3VuY2VtZW50V29ya2Zsb3dcV29ya2Zsb3cueGFtbBAuA1kOAgEBLwUzEQIBDzQFOhgCAQw7BVUYAgEGVgVWVAIBBFcFV3QCAQIxCTGpAQIBEDcLN6wBAgENTAtSKgIBCUULRykCAQg+C0ApAgEHVkNWUQIBBVdSV3ECAQNPEU9tAgEKRg1GIwMBCAE/DT8jAwEHAQ==</sads:DebugSymbol.Symbol>
  </Sequence>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="WriteLine_1" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="WriteToHistory_1" sap:VirtualizedContainerService.HintSize="211,68" />
      <sap2010:ViewStateData Id="UpdateListItem_1" sap:VirtualizedContainerService.HintSize="211,68">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <scg:Dictionary x:TypeArguments="x:String, msdad:ViewStateNameValue" x:Key="SPLocalizedDisplayNames">
              <msdad:ViewStateNameValue x:Key="ListId" DisplayName="(current list)" Value="$CurrentListId" />
              <msdad:ViewStateNameValue x:Key="ItemId" DisplayName="(current item)" Value="$CurrentItemId" />
            </scg:Dictionary>
            <x:String x:Key="ListItemPropertiesDynamicValue.SelectedEntityType"></x:String>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteLine_2" sap:VirtualizedContainerService.HintSize="211,62" />
      <sap2010:ViewStateData Id="WriteToHistory_2" sap:VirtualizedContainerService.HintSize="211,68" />
      <sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="233,612">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="RerWorkflowApp.Update_Announcement.Workflow_1" sap:VirtualizedContainerService.HintSize="273,692" />
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>